﻿//-----------------------------------------------------------------------
// <copyright file="ITumblrClient.cs" company="OpenSource">
//     All code is Microsoft Public License (Ms-PL)
// </copyright>
// <history>
// 2013.02  Created         Chris Hand
// </history>
//-----------------------------------------------------------------------
namespace OpenSource.TumblrAPI.Interfaces
{
    using System.Collections.Generic;

    /// <summary>
    /// Methods to communicate with Tumblr, wherever it is
    /// </summary>
    public interface ITumblrClient
    {
        /// <summary>
        /// Request information from Tumblr
        /// </summary>
        /// <param name="command">The command to send to tumblr</param>
        /// <param name="args">Arguments for the command</param>
        /// <returns>The raw response, as a string.</returns>
        string Request(string command, IDictionary<string, object> args);
    }
}
